import { usePageRequest } from "../../../../utils/request";

Component({
    data: {
        status: 0,
    },
    methods: {
        onLoad() {
            this.listRequest = new usePageRequest('api/ownerinfolist', {}, this)
        },
        onPullDownRefresh() {
            this.listRequest.reset().then(() => {
                wx.stopPullDownRefresh()
            })
        },
        onReachBottom() {
            this.listRequest.next()
        },
    }
})
